home *** CD-ROM | disk | FTP | other *** search
- Path: news.inet.fi!usenet
- From: asko.juvonen@caiproint.inet.fi (asko juvonen)
- Newsgroups: comp.lang.c++
- Subject: Problems calling DLLs
- Date: 31 Jan 1996 12:54:03 GMT
- Organization: caiproint
- Message-ID: <4enopb$hd8@kuikka.inet.fi>
- NNTP-Posting-Host: user-5-43.dial.inet.fi
- X-Newsreader: WinVN 0.92.6+
-
- I have made some DLLs with Turbo C++ for Windows 4.5, but calling
- programs are unable to find any functions in the DLLs, unless the
- corresponding import library is linked to the program, after which
- everything works fine. The problem is, the DLLs are ment to be used
- with a Toolbook program, and AFAIK there is no way to link the
- implibs with Toolbook. What can I do to make Toolbook see the
- functions in my DLLs? Is there some particular style I should use
- when defining functions? I currently use the extern "C" style,
- resulting in case sensitive function names starting with an
- underscore (no C++ name mangling).
-